package com.craftplay.model;

import com.craftplay.VO.CommentVO;

import java.util.Date;
import java.util.List;

public class Replay {
    private Integer id;

    private Integer userId;

    private Integer kind;

    private String title;

    private String content;

    private String image;

    private String name;

    private String address;

    private Integer form;

    private Integer leastCourseNum;

    private Integer leastPrice;

    private Integer price;

    private String date;

    private Integer timeLen;

    private Integer isPublic;

    private Date createdTime;

    private int focusSee;

    private int paySee;

    private double payMoney;

    private int typeId; //1图片，2视频，3语音

    private String coverUrl;//背景图URL

    private String fileId;//腾讯云id

    private String mediaUrl;//音频URL

    private int viewNum;//查看次数

    //以下字段为后期返回JSON添加字段

    private String headImgUrl;

    private String userName;

    private Integer sex;

    //是否已经喜欢
    boolean isLove;

    //是否已经关注
    boolean isFocus;


    //是否支付
    boolean isPay;


    public boolean isLove() {
        return isLove;
    }

    public void setLove(boolean love) {
        isLove = love;
    }

    public boolean isFocus() {
        return isFocus;
    }

    public boolean isPay() {
        return isPay;
    }

    public void setPay(boolean pay) {
        isPay = pay;
    }

    public void setFocus(boolean focus) {
        isFocus = focus;
    }

    //评论
    List<CommentVO> commentVOList;

    public List<CommentVO> getCommentVOList() {
        return commentVOList;
    }

    public void setCommentVOList(List<CommentVO> commentVOList) {
        this.commentVOList = commentVOList;
    }

    //喜欢人数
    int loveNum;


    public int getViewNum() {
        return viewNum;
    }

    public void setViewNum(int viewNum) {
        this.viewNum = viewNum;
    }

    //关注人数
    int focusNum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getForm() {
        return form;
    }

    public void setForm(Integer form) {
        this.form = form;
    }

    public Integer getLeastCourseNum() {
        return leastCourseNum;
    }

    public void setLeastCourseNum(Integer leastCourseNum) {
        this.leastCourseNum = leastCourseNum;
    }

    public Integer getLeastPrice() {
        return leastPrice;
    }

    public void setLeastPrice(Integer leastPrice) {
        this.leastPrice = leastPrice;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getTimeLen() {
        return timeLen;
    }

    public void setTimeLen(Integer timeLen) {
        this.timeLen = timeLen;
    }

    public Integer getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public int getFocusSee() {
        return focusSee;
    }

    public void setFocusSee(int focusSee) {
        this.focusSee = focusSee;
    }

    public int getPaySee() {
        return paySee;
    }

    public void setPaySee(int paySee) {
        this.paySee = paySee;
    }

    public double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(double payMoney) {
        this.payMoney = payMoney;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getMediaUrl() {
        return mediaUrl;
    }

    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getLoveNum() {
        return loveNum;
    }

    public void setLoveNum(int loveNum) {
        this.loveNum = loveNum;
    }

    public Boolean getLove() {
        return isLove;
    }

    public void setLove(Boolean love) {
        isLove = love;
    }

    public int getFocusNum() {
        return focusNum;
    }

    public void setFocusNum(int focusNum) {
        this.focusNum = focusNum;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}